﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Clothes.BLL;
using Clothes.IBLL;
using Clothes.Model;

namespace YongHu_UI
{
    public partial class checkout : System.Web.UI.Page
    {
        shoppingIBLL shop = new shoppingBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            var list = Model.IdentityManager.ReadUser();
            if ( list!= null) {
               int idd=Convert.ToInt32( list.Id);
                Repeater1.DataSource = shop.Select(idd);
                Repeater1.DataBind();
            }
                
        }
    }
}